package com.cy.util;

import lombok.Data;

@Data
public class JsonRueslt {
    private  Integer state=1;
    private  String message="ok";
    private Object data;

    public JsonRueslt(Integer state, String message, Object data) {
        this.state = state;
        this.message = message;
        this.data = data;
    }

    public JsonRueslt(Integer state,  Object data) {
        this.state = state;
        this.data = data;
    }
    public JsonRueslt(Integer state, String message) {
        this.state = state;
        this.message = message;
    }
    public JsonRueslt(String message, Object data) {
        this.message = message;
        this.data = data;
    }
    public JsonRueslt(Integer state) {
        this.state = state;
    }
    public JsonRueslt(String message) {
        this.message = message;
    }
    public JsonRueslt( Object data) {
        this.data = data;
    }
}
